import 'package:flutter/material.dart';

Widget buildHomeBottomMenuItem(IconData iconData, String title, Color color,
    {GestureTapCallback? onTap}) {
  return InkWell(
    onTap: onTap,
    child: Column(
      mainAxisAlignment: MainAxisAlignment.center,
      crossAxisAlignment: CrossAxisAlignment.center,
      children: [
        Container(
          child: Icon(
            iconData,
            color: color,
          ),
        ),
        Container(
          child: Text(
            title,
            style: TextStyle(
              color: color,
              fontSize: 16.0,
            ),
          ),
        ),
      ],
    ),
  );
}
